@echo off
cls
color
pushd %~dp0

@lib\pencil\Pencil.exe Build.cs %*

if NOT ERRORLEVEL = 0 goto error

rem Success, paint it green.
	color 2F
	goto done
:error
rem Fail!, paint it red.
	color 4F
	
:done

	popd